<?php
if (!isset($url)) {
   exit;
}
include './c/config.php';
$mysqli = new mysqli($dbhost, $dbuser, $dbpwd, $dbName);
if (!$mysqli->set_charset("utf8")) {printf("Error loading character set utf8: %s\n", $mysqli->error);}
$query=$mysqli->query("SELECT * FROM `ti` where nianji=1 and step=2 limit 0,100 ");
$i=1;
$hide='hide';
while ($list=$query->fetch_array()) {
   
?>
<div class="tian-bt tian-t<?php echo $i,' ',$hide ?>">
  <div class="tian-txt">
     <?php echo $list['title']; ?>
  </div>  
</div>
<?php 
 $i++;
}
$mysqli->close();
 